let arr = [1, 2, 3, 4, 5, 4, 3, 2, 6];
let _ = require("lodash");
let newArr = _.uniq(arr);
console.log(newArr);

